<html><head><title>Infinity</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">Infinity()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result.f = <font color="#006666"><b>Infinity</b></font>()</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Returns the special floating-point value representing positive infinity. Negative infinity can 
be calculated using "-Infinity()". 

</blockquote><p><b>Parameters</b></p><blockquote>
None.


</blockquote><p><b>Return value</b></p><blockquote>

Returns the value representing infinity. The result is a float or double value depending on whether 
it is assigned to a <a href="../reference/variables.html">float or double</a> variable. 

</blockquote><p><b>Remarks</b></p><blockquote>

Infinity and negative infinity are special values. They behave in calculations in the way you would 
generally expect. For example dividing infinity by any positive number (except 0 or infinity) will result in 
infinity again. The <a href="isinfinity.html">IsInfinity()</a> function can be used to check if a value represents 
positive or negative infinity. 

</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#006666">Debug</font></b> <font color="#006666">IsInfinity</font>(<font color="#006666">Infinity</font>() / 1000) <font color="#006666">; will display 1</font>
</font></pre>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="isinfinity.html">IsInfinity()</a>, <a href="nan.html">NaN()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=exp.html>Exp()</a> - <a href=index.html>Math Index</a> - <a href=int.html>Int()</a> ->

</body></html>